//问卷配色
$formTheme: var(--formTheme,#409eff);
// 可编辑边框input
.double-model-input{
  ::v-deep(.el-input__wrapper){
    box-shadow: none;
  }
  ::v-deep(.el-input__wrapper.is-focus){
    box-shadow: 0 0 0 1px $mainColor inset !important;
  }
  ::v-deep(.el-input__wrapper){
    background: inherit;
  }
  &:hover{
    ::v-deep(.el-input__wrapper){
      box-shadow: 0 0 0 1px $mainColor inset;
    }
  }
  ::v-deep(.el-input__inner){
    line-height: normal;
  }
}
// 可编辑边框textarea
.double-model-textarea{
  ::v-deep(.el-textarea__inner){
    box-shadow: none;
    padding: 8px 11px;
    padding-right: 50px;
  }
  ::v-deep(.el-textarea__inner.is-focus){
    box-shadow: 0 0 0 1px $mainColor inset !important;
  }
  ::v-deep(.el-input__count){
    top: 10px;
    right: 2px;
  }
  &:hover{
    ::v-deep(.el-textarea__inner){
      box-shadow: 0 0 0 1px $mainColor inset;
    }
  }
}
// 禁用时（用于预览）
.double-model-textarea.is-disabled{
  &:hover{
    ::v-deep(.el-textarea__inner){
      box-shadow: none;
    }
  }
  ::v-deep(.el-textarea__inner){
    background: inherit !important;
    color: inherit !important;
    cursor: inherit !important;
  }
}
.form-design-setting-container{
  .el-form-item{
    margin-top: 30px;
  }
  .el-input-number{
    width: 96px;
  }
  .el-switch__core{
    width: 56px;
  }
  .slot-label{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
// 可拖拽选项
.option-drag-box{
  width: 100%;
  /*定义要拖拽元素的样式*/
  .option-drag{
    border: 3px dashed $mainColor !important;
  }
  .option-chosen{
    border: 2px dashed $mainColor !important;
  }
  .option-ghost{
  }
}